const db = require("./db")

const proObj = new db.Schema({
    proId:{type:String},
    proName: {type:String},
    mold: {type:String},
    brand: {type:String},
    logo: {type:String},
    proImg: {type:String},
    price: {type:Number},
    describe: {type:String},
    stock: {type:Number},
    sales: {type:Number},
    discount: {type:Number},
    grade: {type:Number}
})

module.exports = db.model("pro", proObj);
